package study.distributed.shardingjdbc.dao.sharding;

import org.apache.ibatis.annotations.Param;
import study.distributed.shardingjdbc.model.sharding.OrderModel;

import java.util.List;

public interface OrderMapper {
    void insertList(List<OrderModel> list);

    OrderModel getUserOrder(@Param("userId") int userId, @Param("orderId") int orderId);

    void insert(OrderModel orderModel);
}